﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace LuKou.Web.Form
{
    public class ShopArticleForm
    {
        [Required(ErrorMessage = "内容为空。")]
        [DisplayName("内容：")]
        [StringLength(4000, ErrorMessage = "最大长度4000")]
        public string Content { get; set; }

        public long ShopID { get; set; }

        [Required(ErrorMessage = "标题为空。")]
        [DisplayName("标题：")]
        [StringLength(100, ErrorMessage = "最大长度100")]
        public string Title { get; set; }
    }
}
